package summer_vacation.liqiqi.day34;

/**
 * Created by uw on 2015/8/31.
 */
public class pingfang {
    public static void main(String[] args){
        int shu=0;
    for(int i=1;i<=200;i++){
        for(int j=1;j<=200;j++){
            for(int k=1;k<=200;k++){
                if(i*i==j*j+k*k){
                    shu++;
                    System.out.println(i);
                    System.out.println(shu);
                }
            }
        }
    }
    }
}
